package com.hzdesk.media.koreabatchmatvector.logic.contract;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.widget.ImageView;

import com.hzdesk.media.koreabatchmatvector.bean.DcfBean;
import com.hzdesk.media.koreabatchmatvector.bean.MouseUserDevicesinfoBean;
import com.hzdesk.media.koreabatchmatvector.bean.VideoFile;
import com.hzdesk.media.koreabatchmatvector.bean.XmlUserBean;
import com.universalvideoview.UniversalMediaController;
import com.universalvideoview.UniversalVideoView;

import java.util.List;

/**
 * Created by Administrator on 2018/6/23.
 * 杭州席媒科技有限公司  Developers  刘传华  09
 * 佛祖镇楼 bug辟易
 */

public interface VideoPlayerContract {

    interface IVideoPlayerModle{
        List<XmlUserBean> query(Context mContext);                                     // 查询数据

    }
    interface IVideoPlayerView{
        void show();
        void hide();
        void finshPager();
        void onVideoPause();
        void onVideoStart();
        void onChangeProgress(long time);
        void startDraw(DcfBean dcfBean,String name);

        void showUserAnnotation(int num);                                                 //显示用户批注
        void hideUserAnnotation(int num);                                                 //隐藏用户批注
        void showAllUserAnnotation();                                                      //显示所有用户批注
        void hideAllUserAnnotation();                                                      //隐藏所有用户批注
        void showSetPage();
        void hideSetPage();
        void onPrepared();
    }
    interface IVideoPlayerPersenter{
        void onClickedTobBack();                                                        //点击顶部的返回按钮
        void onClickedContent();                                                        // 点击内容显示区域
        void onClickeTopCanvasSwitch();                                                 // 点击标题栏开关

        void onStartDraw(Context context, VideoFile videoFile, UniversalVideoView videoView, UniversalMediaController controller);
        void initRecyclerView(RecyclerView recyclerView);

    }
}
